package com.broada.apm.logic;

import java.util.List;

import com.broada.apm.entity.Relation;

public interface RelationLogic {

	public void saveRelation(Relation rel);

	public List<Relation> queryRelationByAppId(String appId);

	public void deleteRelationByAppId(String id);

	public List<Relation> queryRelationByFromOrTo(String[] serviceIds);
	
	public List<Relation> queryRelationByFromAndTo(String[] fromSerIds, String[] toSerIds);

	public void deleteRelationByFromOrTo(String[] nodeIds);
	
}
